import requests
import json


headers = {
    "accept": "application/json, text/javascript, */*; q=0.01",
    "accept-language": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",
    "app-guestid": "C8D3DEB4F692B832296CAC4A00C3EC36",
    "app-version": "0",
    "cache-control": "no-cache",
    "content-type": "application/json",
    "origin": "https://hangzhou.qccqcc.com",
    "pragma": "no-cache",
    "priority": "u=1, i",
    "referer": "https://hangzhou.qccqcc.com/",
    "sec-ch-ua": "\"Chromium\";v=\"142\", \"Microsoft Edge\";v=\"142\", \"Not_A Brand\";v=\"99\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "cross-site",
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36 Edg/142.0.0.0"
}
url = "https://newopenapiweb.17qcc.com/api/services/app/SearchFactory/GetPageList"
data = {
    "Content": "e1ad8b8ca19e7d97b6bc1e9b28bf6c609f7a1b6cb65befa7e95f6f3bccda2669ac0500eac685ad5144780c514b6a6f0125d695b05104abdee842372e6fac4687fa79c667cc4a94121232764f72252728c3d775dc99a5780fec14d7b747baf51b20ffa4b46efe59e4b687617b3c3ee90e",
    "Sign": "ZhMGzWgoEPpAUxqMXIYxftcdXA+cKKiJBFi5v0knj0AzsjBqLlaxc+r+T6nItl1UsutCgxIojMsjaO2M4PsOUlK2pwiFMA/+5m1B4lLhr0pnOjAfT7tq5BFQu6JvsSxSyNgfWsk1O/bZ4Xi5YImtcbiBeVZaMBYTwGvkU2M+M1E=",
    "RsaPubAes": "eNhyfTvBqbguT27jaSOC2ACD6qZgt5oBb5gmpg8LU8HLkqZI7tcY46TtOwLgCWm4ijjquHaeYBlMBfUdxw1eiRcLQHlcmqCB6F7P2c9Tn4Vp9ATf5trgYhHVnyTjrA2HtHoegCnH8V+B+7u63fFIU+ZB3ZQ/6jpf9Pk9tGVSvEw=",
    "IV": "6wwIN1y2WZbaLt2n",
    "TimesTamp": "ECC90C94D9FA0E9A25DB92B922079F6E"
}
data = json.dumps(data, separators=(',', ':'))
response = requests.post(url, headers=headers, data=data)

print(response.text)
print(response)
